export default {
  "panels": [{
    "index": 0,
    "name": 1,
    "height": 140,
    "width": 240,
    "paperHeader": 90,
    "paperFooter": 390,
    "printElements": [{
        "options": {
          "left": 40,
          "top": 18,
          "height": 34.5,
          "width": 540,
          "title": "产品交接单",
          "right": 285,
          "bottom": 9.75,
          "vCenter": 130.5,
          "hCenter": 4.875,
          "coordinateSync": false,
          "horizontal": "center",
          "widthHeightSync": false,
          "fontSize": 22,
          "fontWeight": "600",
          "textAlign": "center",
          "textContentVerticalAlign": "middle",
          "qrCodeLevel": 0,
        },
        "printElementType": {
          "title": "这是更新后的元素",
          "type": "text"
        }
      }, {
        "options": {
          "left": 441,
          "top": 58.5,
          "height": 16.5,
          "width": 145.5,
          "title": "NO.",
          "field": "vbillcode",
          "coordinateSync": false,
          "widthHeightSync": false,
          "fontWeight": "600",
          "textContentVerticalAlign": "middle",
          "qrCodeLevel": 0,
          "right": 586.5,
          "bottom": 54,
          "vCenter": 513.75,
          "hCenter": 45.75
        },
        "printElementType": {
          "title": "",
          "type": "text"
        }
      }, {
        "options": {
          "left": 230,
          "top": 77.5,
          "height": 10,
          "width": 10,
          "coordinateSync": false,
          "widthHeightSync": false,
          "right": 19.99609375,
          "bottom": 55,
          "vCenter": 14.99609375,
          "hCenter": 50
        },
        "printElementType": {
          "title": "矩形",
          "type": "rect"
        }
      }, {
        "options": {
          "left": 244,
          "top": 77.5,
          "height": 9.75,
          "width": 78,
          "title": "非商业化成品",
          "right": 377.49609375,
          "bottom": 48.99609375,
          "vCenter": 317.49609375,
          "hCenter": 44.12109375,
          "coordinateSync": false,
          "widthHeightSync": false,
          "qrCodeLevel": 0
        },
        "printElementType": {
          "title": "这是更新后的元素",
          "type": "text"
        }
      }, {
        "options": {
          "left": 135,
          "top": 77.5,
          "height": 9.75,
          "width": 82.5,
          "title": "临床样品",
          "right": 232.5,
          "bottom": 57.24609375,
          "vCenter": 172.5,
          "hCenter": 52.37109375,
          "coordinateSync": false,
          "widthHeightSync": false,
          "qrCodeLevel": 0
        },
        "printElementType": {
          "title": "这是更新后的元素",
          "type": "text"
        }
      }, {
        "options": {
          "left": 344,
          "top": 77.5,
          "height": 10,
          "width": 10,
          "coordinateSync": false,
          "widthHeightSync": false,
          "right": 367.4921875,
          "bottom": 49.99609375,
          "vCenter": 362.4921875,
          "hCenter": 44.99609375
        },
        "printElementType": {
          "title": "矩形",
          "type": "rect"
        }
      }, {
        "options": {
          "left": 122.5,
          "top": 77.5,
          "height": 10,
          "width": 10,
          "coordinateSync": false,
          "widthHeightSync": false,
          "right": 19.99609375,
          "bottom": 55,
          "vCenter": 14.99609375,
          "hCenter": 50
        },
        "printElementType": {
          "title": "矩形",
          "type": "rect"
        }
      }, {
        "options": {
          "left": 357,
          "top": 77.5,
          "height": 9.75,
          "width": 61.5,
          "title": "样品",
          "right": 491.49609375,
          "bottom": 49.74609375,
          "vCenter": 431.49609375,
          "hCenter": 44.87109375,
          "coordinateSync": false,
          "widthHeightSync": false,
          "qrCodeLevel": 0
        },
        "printElementType": {
          "title": "这是更新后的元素",
          "type": "text"
        }
      }, {
        "options": {
          "left": 37.5,
          "top": 77.5,
          "height": 9.75,
          "width": 66,
          "title": "商业化成品",
          "right": 141.75,
          "bottom": 54.75,
          "vCenter": 81.75,
          "hCenter": 49.875,
          "coordinateSync": false,
          "widthHeightSync": false,
          "qrCodeLevel": 0
        },
        "printElementType": {
          "title": "这是更新后的元素",
          "type": "text"
        }
      }, {
        "options": {
          "left": 438,
          "top": 77.5,
          "height": 10,
          "width": 10,
          "coordinateSync": false,
          "widthHeightSync": false,
          "right": 367.4921875,
          "bottom": 49.99609375,
          "vCenter": 362.4921875,
          "hCenter": 44.99609375
        },
        "printElementType": {
          "title": "矩形",
          "type": "rect"
        }
      }, {
        "options": {
          "left": 25,
          "top": 77.5,
          "height": 10,
          "width": 10,
          "coordinateSync": false,
          "widthHeightSync": false,
          "right": 19.99609375,
          "bottom": 55,
          "vCenter": 14.99609375,
          "hCenter": 50
        },
        "printElementType": {
          "title": "矩形",
          "type": "rect"
        }
      }, {
        "options": {
          "left": 450,
          "top": 77.5,
          "height": 9.75,
          "width": 72,
          "title": "其他",
          "coordinateSync": false,
          "widthHeightSync": false,
          "qrCodeLevel": 0
        },
        "printElementType": {
          "title": "这是更新后的元素",
          "type": "text"
        }
      }, {
        "options": {
          "left":469.5,
          "top": 85.5,
          "height": 9,
          "width": 90,
          "borderWidth": 0.75
        },
        "printElementType": {
          "title": "横线",
          "type": "hline"
        }
      },
      {
        "options": {
          "left": 11,
          "top": 97.5,
          "height": 36,
          "width": 560,
          "right": 559,
          "bottom": 118.5,
          "vCenter": 284,
          "hCenter": 100.5,
          "fields": [{
              "text": "代码",
              "field": "cmaterialoidCode"
            },
            {
              "text": "名称",
              "field": "cmaterialoidName"
            },
            {
              "text": "批号",
              "field": "vbatchcode"
            },
            {
              "text": "规格",
              "field": "materialspec"
            },
            {
              "text": "单位",
              "field": "cunitidName"
            },
            {
              "text": "数量",
              "field": "nshouldnum"
            },
            {
              "text": "生产日期",
              "field": "dproducedate"
            },
            {
              "text": "有效期至",
              "field": "dvalidate"
            }
          ],
          "field": "table",
          "tableHeaderRepeat": "page",
          "tableFooterRepeat": "page",
          "tableBodyRowHeight": 30, //表体行高
          "tableHeaderRowHeight": 24, //表头行高
          "columns": [
            [{
                "title": "代码",
                "field": "cmaterialoidCode",
                "checked": true,
                "fixed": false,
                "rowspan": 1,
                "colspan": 1,
                "align": "center"
              },
              {
                "title": "名称",
                "field": "cmaterialoidName",
                "checked": true,
                "fixed": false,
                "rowspan": 1,
                "colspan": 1,
                "align": "center",
                "width": 150
              },
              {
                "title": "规格",
                "field": "materialspec",
                "checked": true,
                "fixed": false,
                "rowspan": 1,
                "colspan": 1,
                "align": "center"
              },
              {
                "title": "批号",
                "field": "vbatchcode",
                "checked": true,
                "fixed": false,
                "rowspan": 1,
                "colspan": 1,
                "align": "center"
              },
              {
                "title": "单位",
                "field": "cunitidName",
                "checked": true,
                "fixed": false,
                "rowspan": 1,
                "colspan": 1,
                "align": "center",
                "width": 60
              },
              {
                "title": "数量",
                "field": "nshouldnum",//应转主数量
                "checked": true,
                "fixed": false,
                "rowspan": 1,
                "colspan": 1,
                "align": "center"
              },
              {
                "title": "生产日期",
                "field": "dproducedate",
                "checked": true,
                "fixed": false,
                "rowspan": 1,
                "colspan": 1,
                "align": "center",
                "width": 130
              },
              {
                "title": "有效期至",
                "field": "dvalidate",
                "checked": true,
                "fixed": false,
                "rowspan": 1,
                "colspan": 1,
                "align": "center",
                "width": 130
              },
            ]
          ],
          "tableBorder": "noBorder",
          "tableFooterBorder": "noBorder",
          "tableFooterCellBorder": "noBorder",
          footerFormatter: function(groupData, options) {
            return `<tr style="height:50px;font-size:12px;border:1px solid black">
                    <td style="line-height:20px;border:1px solid black;text-align:center">备注:</td>
                    <td style="position: relative; padding:0 10px;line-height:20px" colspan="7">
                        ${"包装规格:&nbsp;&nbsp;&nbsp;&nbsp&nbsp;&nbsp;&nbsp;&nbsp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;支/瓶每件*&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;件;&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp零箱数量：<br/>交接原因:&nbsp;&nbsp;&nbsp;&nbsp&nbsp;&nbsp;&nbsp;&nbsp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp&nbsp;&nbsp;&nbsp;&nbsp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;口首次移交"}
                        &nbsp;&nbsp;&nbsp;口非首次移交,&nbsp;&nbsp;原因:
                    </td>
                  </tr>
                  <tr>
                    <td>移交部门:</td>
                    <td style="padding:0 10px;line-height:20px;" colspan="4"></td>
                    <td>接收部门:</td>
                    <td style="padding:0 10px;line-height:20px;" colspan="4"></td>
                  </tr>
                  <tr>
                    <td>移交人/日期:</td>
                    <td style="padding:0 10px;line-height:20px;" colspan="4"></td>
                    <td>接收人/日期:</td>
                    <td style="padding:0 10px;line-height:20px;" colspan="4"></td>
                  </tr>
                  `;
          },
        },
        "printElementType": {
          "title": "空白表格",
          "type": "table",
          "editable": true,
          "columnDisplayEditable": true,
          "columnDisplayIndexEditable": true,
          "columnTitleEditable": true,
          "columnResizable": true,
          "columnAlignEditable": true,
          "isEnableEditField": true,
          "isEnableContextMenu": true,
          "isEnableInsertRow": true,
          "isEnableDeleteRow": true,
          "isEnableInsertColumn": true,
          "isEnableDeleteColumn": true,
          "isEnableMergeCell": true
        }
      },
      // {
      //   "options": {
      //     "left": 337.5,
      //     "top": 143,
      //     "height": 16.5,
      //     "width": 120,
      //     "title": "接收部门：",
      //     "right": 454.9921875,
      //     "bottom": 117.24609375,
      //     "vCenter": 394.9921875,
      //     "hCenter": 112.37109375,
      //     "coordinateSync": false,
      //     "widthHeightSync": false,
      //     "textContentVerticalAlign": "middle",
      //     "qrCodeLevel": 0
      //   },
      //   "printElementType": {
      //     "title": "这是更新后的元素",
      //     "type": "text"
      //   }
      // },
      // {
      //   "options": {
      //     "left": 10,
      //     "top": 143,
      //     "height": 16.5,
      //     "width": 120,
      //     "title": "移交部门：",
      //     "right": 129.99609375,
      //     "bottom": 124.9921875,
      //     "vCenter": 69.99609375,
      //     "hCenter": 116.7421875,
      //     "coordinateSync": false,
      //     "widthHeightSync": false,
      //     "textContentVerticalAlign": "middle",
      //     "qrCodeLevel": 0
      //   },
      //   "printElementType": {
      //     "title": "这是更新后的元素",
      //     "type": "text"
      //   }
      // },
      // {
      //   "options": {
      //     "left": 10,
      //     "top": 163,
      //     "height": 16.5,
      //     "width": 120,
      //     "title": "移交人/日期：",
      //     "coordinateSync": false,
      //     "widthHeightSync": false,
      //     "textContentVerticalAlign": "middle",
      //     "qrCodeLevel": 0
      //   },
      //   "printElementType": {
      //     "title": "这是更新后的元素",
      //     "type": "text"
      //   }
      // },
      // {
      //   "options": {
      //     "left": 337.5,
      //     "top": 163,
      //     "height": 16.5,
      //     "width": 120,
      //     "title": "接收人/日期：",
      //     "coordinateSync": false,
      //     "widthHeightSync": false,
      //     "textContentVerticalAlign": "middle",
      //     "qrCodeLevel": 0,
      //     "right": 459.75,
      //     "bottom": 151.74609375,
      //     "vCenter": 399.75,
      //     "hCenter": 143.49609375
      //   },
      //   "printElementType": {
      //     "title": "这是更新后的元素",
      //     "type": "text"
      //   }
      // },
    ],
    "paperNumberLeft": 565.5,
    "paperNumberTop": 397,
    "paperNumberContinue": true,
    "paperNumberDisabled": true,
    "watermarkOptions": {},
    "panelLayoutOptions": {}
  }]
}
